package com.wisdom.client.discovery;

import com.wisdom.client.cache.NacosServiceProvider;
import com.wisdom.core.provider.ServiceProvider;

import java.util.List;

/**
 * @description: <获取服务端的接口信息>
 * @author: Leo
 * @date:2021-08-22 16:31
 */
public interface RpcServerDiscovery<T extends ServiceProvider,P> {

    void serverDiscovery();

    List<T> getServiceProvider(List<P> from);

}
